package com.toidep.adapters;

import android.app.Activity;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;

import com.nostra13.universalimageloader.core.DisplayImageOptions;
import com.nostra13.universalimageloader.core.ImageLoader;
import com.toidep.R;

public class BaseAdapterVTV extends BaseAdapter{

	protected ImageLoader mMultiImageLoader;
	protected Activity mActivity;
	protected LayoutInflater inflater;
	protected DisplayImageOptions options;
	
	public BaseAdapterVTV(Activity activity){
		this.mActivity = activity;
		init();
	}
	
	protected void init() {
		if(mActivity==null)
			return;
		if(mMultiImageLoader!=null&&inflater!=null)
			return;
		inflater = LayoutInflater.from(mActivity);

		
		options = new DisplayImageOptions.Builder()
//		.showStubImage(R.color.white)
		.showImageForEmptyUri(R.drawable.empty_photo)
		.cacheInMemory()
		.cacheOnDisc()
		.build();
		
	}

	
	
	
	
	public int getCount() {
		// TODO Auto-generated method stub
		return 0;
	}

	public Object getItem(int arg0) {
		// TODO Auto-generated method stub
		return null;
	}

	public long getItemId(int arg0) {
		// TODO Auto-generated method stub
		return 0;
	}

	public View getView(int arg0, View arg1, ViewGroup arg2) {
		// TODO Auto-generated method stub
		return null;
	}

	
}
